package com.xyh.flowershop.domain;


import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 
 * @TableName tb_comment
 */
@TableName(value ="tb_comment")
@Data
public class Comment implements Serializable {
    /**
     * 
     */
    @TableId
    private String id;

    /**
     * 
     */
    private String goodId;

    /**
     * 
     */
    private String userId;

    /**
     * 评论内容
     */
    private String content;

    /**
     * 父评论编号；为空即为父级评论
     */
    private String parentId;

    /**
     * 被回复评论id，没有即是对父评论的回复
     */
    private String replyId;

    /**
     * 发布时间
     */
    private Date createTime;

    /**
     * 点赞数
     */
    private Integer likeCount;

    /**
     * 是否删除
     */
    private Boolean deleted;

    private Boolean isAnonymous;

    private String stars;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}